.data-image-resizer {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0px;
    right: 0;
    z-index: 1;
}
.data-image-resizer-holder {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    background: #1890FF;
    display: inline-block;
}
.data-image-resizer-holder-right-top {
    top: -6px;
    right: -6px;
    cursor: nesw-resize;
}
.data-image-resizer-holder-right-bottom {
    bottom: -6px;
    right: -6px;
    cursor: nwse-resize;
}
.data-image-resizer-holder-left-bottom {
    bottom: -6px;
    left: -6px;
    cursor: nesw-resize;
}
.data-image-resizer-holder-left-top {
    left: -6px;
    top: -6px;
    cursor: nwse-resize;
}

.data-image-resizer-bg {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    opacity: 0;
}
.data-image-resizer-bg-active {
    opacity: 0.3;
}

.data-image-resizer-number {
    position: absolute;
    display: inline-block;
    line-height: 24px;
    padding: 0 4px;
    font-size: 12px;
    border-radius: 3px 3px;
    background: rgba(0, 0, 0, 0.86);
    color: rgba(255, 255, 255, 0.96);
    font-family: 'Lucida Console', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
    transform: scale(0.8);
}

.data-image-resizer-number-right-top {
    top: 0px;
    right: -6px;
    transform: translateX(100%) scale(0.8);
}

.data-image-resizer-number-right-bottom {
    right: -6px;
    bottom: 0px;
    transform: translateX(100%) scale(0.8);
}

.data-image-resizer-number-left-bottom {
    left: -6px;
    bottom: 0px;
    transform: translateX(-100%) scale(0.8);
}

.data-image-resizer-number-left-top {
    left: -6px;
    top: 0px;
    transform: translateX(-100%) scale(0.8);
}

.data-image-resizer-number-active {
    opacity: 1;
    visibility: visible;
}